import request from '@/utils/request.js'

export default{

  //1、登录
  submitLoginUser(userInfo){
    return request({
      url: '/educenter/member/login',
      method: 'post',
      data: userInfo
    })
  },

  //2、根据token获取用户信息
  getLoginUserInfo(){
    return request({
      url: '/educenter/member/getMemberInfo',
      method: 'get'
    })
  }

}
